window.addEventListener('load',function() {
    // 关闭头部图片
    var header_img_center =document.querySelector(".header_img_center");
    var header_img_close = document.querySelector(".header_img_close");

    header_img_close.addEventListener("click",function() {
        header_img_center.style.display = 'none';
    });



    // 更多精彩下拉菜单
    var gengduojingcai = document.querySelector(".gengduojingcai");
    var gengduojingcai_xialacaidan = document.querySelector(".gengduojingcai_xialacaidan");

    gengduojingcai.addEventListener("mouseover",function() {
        gengduojingcai_xialacaidan.style.display = 'block';
    });

    gengduojingcai.addEventListener("mouseleave",function() {
        gengduojingcai_xialacaidan.style.display = 'none';
    });


    // 客服下拉菜单
    var kefu = document.querySelector(".kefu");
    var kefu_xialacaidan = document.querySelector(".kefu_xialacaidan");
    kefu.addEventListener("mouseover",function() {
        kefu_xialacaidan.style.display = 'block';
    });

    kefu.addEventListener("mouseleave",function() {
        kefu_xialacaidan.style.display = 'none';
    });



    // 网站导航下拉菜单 
    var wangzhan = document.querySelector(".wangzhan");
    var wangzhan_xialacaidan = document.querySelector('.wangzhan_xialacaidan');
    wangzhan.addEventListener("mouseover",function() {
        wangzhan_xialacaidan.style.display = 'block';
    });

    wangzhan.addEventListener("mouseleave",function() {
        wangzhan_xialacaidan.style.display = 'none';
    });


    // 手机版下拉菜单
    var shoujiban = document.querySelector(".shoujiban");
    var shoujiban_xialacaidan = document.querySelector(".shoujiban_xialacaidan");
    shoujiban.addEventListener("mouseover",function() {
        shoujiban_xialacaidan.style.display = 'block';
    });

    shoujiban.addEventListener("mouseleave",function() {
        shoujiban_xialacaidan.style.display = 'none';
    });
})